LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := Video
LOCAL_SRC_FILES := Video.cpp \
    mediaplayer.cpp \
    global.cpp \
    record.cpp \
    decoder.cpp \
    ScopeQueue.cpp \
    writer.cpp \
    thread.cpp \
LOCAL_LDLIBS := -llog -ljnigraphics -lz -landroid -lm
LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog
LOCAL_CFLAGS := -D__STDC_CONSTANT_MACROS
LOCAL_SHARED_LIBRARIES := libavformat libavcodec libswscale libavutil libswresample libavfilter liblog libcutils

include $(BUILD_SHARED_LIBRARY)
$(call import-module,ffmpeg/android/arm)